<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			//打印三角形
			for(var i=1;i<=9;i++){
				for(var j=1;j<i;j++){
					
				document.write("*")
				}
				document.write('<br />')
			}
		</script>
	</body>
</html>
